package com.bjpowernode.mvc.service.inter;

import com.bjpowernode.db.result.BidResult;
import com.bjpowernode.mvc.model.dto.BidInfoDTO;
import com.bjpowernode.mvc.model.dto.BidRankDTO;

import java.math.BigDecimal;
import java.util.List;

public interface BidService {

    //获取投资排行榜数据
    List<BidRankDTO> queryMoneyRank();

    //查询某个产品最近投资记录
    List<BidResult> queryProductId(Integer productId, Integer pageNo, Integer pageSize);

    String buyProduct(Integer uid, Integer productId, BigDecimal bigMoney);

    List<BidResult> queryBidByUid(Integer uid, Integer pageNo, Integer pageSize);
}
